package product.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import product.model.ProductInfo;

@Mapper
public interface ProductMapper {


    @Select("select * from product_detail where id = #{id}")
    ProductInfo selectByProductId(@Param("id") Integer id);


}
